SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '042b4d6d57ba6e5b7b4543dd8878fbd50026df0cec9ab71a509e5f9bf80e8e81' 
  AND token = 'OFUiWRRu/lwzH7Bm1mAr7x21Z67IdDMDDqQloTYiDcQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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