SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ebf80dc6859c0966ec129449134517c35bfc7231f50a2864a54b2bdc6db178fa' 
  AND token = '6YUm5S1F0kcSXOOYTkUn9ZFZ4LI/8FOPrEaMwXNe3yM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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