SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a12bcfd099a4b7f48ca4e55a7ea51240d49513286e51dfda81da94ac5f27a1ba' 
  AND token = 'cprCM+BtBDUipk3RY2kDh4V6rXiA1YuC6nCbiuU2JpY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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