SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca40d0fd6b48fcf6fc2bcceab921c62a4692693409ad9176cd6883c6516746a4' 
  AND token = 'dMLBLKpbGjEuB2Otw2Ji+IX3UHHO0JxQoQQHIxm+FqE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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