SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30ca5e463de30988c755e85d861904312bc4cef8cacaf67388cab67af6bbb9fc' 
  AND token = 'hnBSY5rz+uUaIQZICRmZvQSL3PfEOMFJlsHS50mHERo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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