SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e0cd64bc1b49169dce58b1062949f4e71ea11e73427deee59e878c4321b5950' 
  AND token = 'ffelRl3StK+EipW6thPu0CHhstCph3y7OI7QHhukD34=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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