SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '96d8b46d392bdb13e5e8a10e60b70f4182ae765aacd29a0f9dd81f886f24b7e7' 
  AND token = 'mhw+VefQChvqSCb8Rr7CnAahV5R6YQoMyxeo0u1N9HQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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