SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30ea6ca136f802779657591a7a19319c80a71cb6b9de037a9cc65ff503aace01' 
  AND token = 'aT0dKjzKYVXF835x0fQf91pyIPPVLmpp6uByJT2Xbjg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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