SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'def01e688e8c1dbb745ec73228f91147dbf37c3e4cb98ec96c3da776b6892e8b' 
  AND token = 'YJDtWc7LFfgTs75ySZXa8/ohpusaEgPYl8VX6NYyHyY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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