SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '371b0b12629661a7baa11d263408f7c65d643404ca25f08422d4595a09e9a8e0' 
  AND token = 'BIoVCdWtz0YzSLxhJlOCbjIEiedQ/3qIhlQixA4Jqxo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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