SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef0966235c8ef8344513f50a7e247d66d2349eef8e951ed5daac9cad33c289c8' 
  AND token = 'lgogXvqJYKn1pKbBK3L6vktiWfkdBLaP2dHm3x83IXk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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