SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6aff7c25c36cfa98c38912427910f6b75fdd61164ecfffb42a661c2850bb017d' 
  AND token = 'i4EBTBaFDPGSHMri3fczTEaH6Bpc3GZIT5nc/hiQ014=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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