SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edfa38448e8c8d7bb1f55f128099ae78ead161b0c8b1f9cdc84987929c47e02d' 
  AND token = 'Zd4yntEjbsgsD0ASqkqfQPoH1QJS1dpK0sB+oan8xZ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}