SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7797a4a726287b1899ca54e5b473b75c6aed1876c64f6c5c16dd5cf1345eab3f' 
  AND token = 'qQwWw6wPNiqCT6ZeiQKTReX8O7HsSdfpzJK30n1mrR0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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