SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '248f772882c5d3e8194557dc1c3735eb99541bcd87845fc8fc43e17b2c99a256' 
  AND token = 'zNiLzJpCXAmO9C+EL3Bg8J2CLCbcvrbdHXzkSyxAH5A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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