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

Query time 0.00019

JSON explain

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