SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '03a1f8464ccf018aa4c31980877d343bbd140999d0b48c2dc38f6f4bdf55e1f5' 
  AND token = 'iBEm9BA+rWdAfRGxZ4dqbi96miSTqQvyJZ7JS2Ouu1I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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