SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afaeb48589ba60cb8e691d9d5d0d512ea9d6d404196567f7d2c5bbf9513f34df' 
  AND token = '58aDhW/QCdwrZ4Fim5Px2t2gc26SeYgbuYs50k7eKP0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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