SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d79d045fd54ae0fb3f68d67528648a985e5c8dbafe0ac535d15d14fe3767e21' 
  AND token = '0C1zxC6pOynlb+ze6bmfIC/2Pt8r5oGnyUFBswGYdYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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