SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c51556dbf1a27573231ba1cea7779bbd71d7f97c1ec0031801b892bab8919999' 
  AND token = 'TmsakBNgtDNKHScM+S7CnuTd40dD8O/z+gXAhXv/SfY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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